package com.xexun.gpstracker.vo;

/**
 * Created by HH
 * Date: 2015/7/15 0015
 * Time: 下午 2:13
 */
public enum FlavorType {
    DDX, KIDSWATCH, HANDCUFF, INTEL, ISRAEL, FULL, OLDGPS, PHONELOC, HANDCUFFSJT;

    public static FlavorType getFlavorType(String type) {
        FlavorType tp = KIDSWATCH;
        for (FlavorType t : FlavorType.values()) {
            if (t.name().equals(type)) {
                tp = t;
                break;
            }
        }
        return tp;
    }
}
